{include file="header_index.html"}
 <table width="767" border="0" align="center" cellpadding="1" cellspacing="0" bordercolor="#CCCCCC">
  <tr>
    <td height="161" align="center" valign="middle"><table align="center" width="400">
      <tr>
        <td width="50" valign="top">
          {if $msg_type==0}
          <img src="images/information.gif" width="32" height="32" border="0" alt="information" />
          {elseif $msg_type eq 1}
          <img src="images/warning.gif" width="32" height="32" border="0" alt="warning" />
          {else}
          <img src="images/confirm.gif" width="32" height="32" border="0" alt="confirm" />
          {/if}
        </td>
        <td style="font-size: 14px; font-weight: bold">{$msg_detail}</td>
      </tr>
      <tr>
        <td height="49"></td>
        <td id="redirectionMsg">
          {if $auto_redirect}{$lang.auto_redirection}{/if}
        </td>
      </tr>
      <tr>
        <td></td>
        <td valign="middle">
          <table> {foreach from=$links item=link}
		  <tr>
           
            <td height="30"><a href="{$link.href}"><span style="font-size:14px" style="color:#990033">{$link.text}</span></a></td>
        
			</tr>    {/foreach}
          </table>

        </td>
      </tr>
    </table></td>
  </tr>
</table>

{if $auto_redirect}
<script language="JavaScript">
<!--
var seconds = 3;
var defaultUrl = "{$default_url}";

{literal}
onload = function()
{
  if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0)
  {
    document.getElementById('redirectionMsg').innerHTML = '';
    return;
  }

  window.setInterval(redirection, 1000);
}
function redirection()
{
  if (seconds <= 0)
  {
    window.clearInterval();
    return;
  }

  seconds --;
  document.getElementById('spanSeconds').innerHTML = seconds;

  if (seconds == 0)
  {
    window.clearInterval();
    location.href = defaultUrl;
  }
}
//-->
</script>
{/literal}{/if}
{include file="footer_index.html"}